package com.xtpt.disaster.service;


import com.xtpt.disaster.bean.JobDetail;
import com.xtpt.disaster.bean.TaskInfo;
import com.xtpt.disaster.common.PortalResult;

import java.text.ParseException;
import java.util.List;

public interface TaskInfoManageService {
    public int deleteById(long id);

    public PortalResult insertTaskInfo(TaskInfo taskInfo);

    public int insertOneTaskInfo(TaskInfo taskInfo);
    /**
     * @Description: 记录存在则更新，不存在则插入
     * @Author: hpc
     * @Date: 2021/12/28 下午 3:37
     * @param taskInfo:
     * @return: int
     **/
    int insertOrUpdateTaskInfo(TaskInfo taskInfo);

    public TaskInfo selectTaskInfoById(long id);

    public int updateTaskInfoById(TaskInfo taskInfo);

    public List<TaskInfo> getAllTaskInfo();

    public int deleteBatch(long[] ids);

    public List<TaskInfo> getTaskInfoByExample(TaskInfo taskInfo);
}
